<!--
 * @Description: 
 * @Autor: 商晓彬
 * @Date: 2021-05-28 09:30:07
 * @LastEditors: 商晓彬
 * @LastEditTime: 2021-06-24 17:39:17
-->
<div bsModal #createOrEditModal="bs-modal" (onShown)="onShown()" class="modal fade" tabindex="-1" role="dialog"
    aria-labelledby="createOrEditModal" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">
                    <span>PPS工艺文件详情</span>
                </h4>
                <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="m-content">
                <div class="m-portlet m-portlet--mobile">
                    <div class="m-portlet__body">
                        <div class="row align-items-center">
                            <div class="w font">
                                <span class="ml10">文件编号：</span>
                                <span class="ml">{{parentInfo.codeId}}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">工艺文件名称：</span>
                                <span style="margin-left: 167px;">{{parentInfo.moduleName}}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">产品代号：</span>
                                <span class="ml">{{parentInfo.systemCode}}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">零、部、组件代号：</span>
                                <span style="margin-left: 134px;">{{ parentInfo.drawingCode }}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">零、部、组件名称：</span>
                                <span style="margin-left: 134px;">{{ parentInfo.drawingName }}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">阶段标记：</span>
                                <span class="ml">{{parentInfo.moduleName}}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">文件密级：</span>
                                <span class="ml" *ngIf="parentInfo.secretDegree == 1">内部</span>
                                <span class="ml" *ngIf="parentInfo.secretDegree == 2">机密</span>
                                <span class="ml" *ngIf="parentInfo.secretDegree == 3">公开</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">型号：</span>
                                <span style="margin-left: 230px;">{{parentInfo.modelCode}}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">编制：</span>
                                <span style="margin-left: 230px;">{{parentInfo.useTime}}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">使用时间：</span>
                                <span class="ml">{{parentInfo.useTime | momentFormat:'YYYY-MM-DD HH:mm:ss'}}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">分发单位：</span>
                                <span class="ml">{{parentInfo.issueUnit}}</span>
                            </div>
                            <div class="w font">
                                <span class="ml10">备注：</span>
                                <span style="margin-left: 232px;">{{parentInfo.remark}}</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-bottom">
                <!-- <p-button label="关闭" (click)="close()" style="width: 100px;" class="ui-button-rounded ui-button-secondary"></p-button> -->
                <!-- <p-button label="解析导入"  style="width: 100px;"></p-button> -->
                <button class="but" (click)="close()">关闭</button>
                <button class="but" (click)="import()" style="margin-left: 20px;">解析导入</button>
            </div>
        </div>
    </div>
</div>